package com.jrx.anytxn.customer.dto.customer.medical;

import com.alibaba.fastjson.JSON;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * 信用就医业务，cms客户端发起冻结、解冻操作处理结果返回
 *
 * @author user
 * @date 2022/8/9 14:30
 */
public class CustomerLimitFrozeBaseRes implements Serializable {
    private static final long serialVersionUID = -7052966390686842121L;

    /**
     * 请求流水号（交易流水号）
     */
    @ApiModelProperty(value = "请求流水号", example = "XYNC111223214")
    private String seqNo;

    /**
     * 租戶id
     * 表字段:tenant_id
     */
    @ApiModelProperty(value = "租戶id", example = "CHCN")
    private String tenantId;

    /**
     * 产品ID
     * 表字段:product_id
     */
    @ApiModelProperty(value = "产品ID", example = "XIBXAH000001")
    private String productId;

    /**
     * 渠道号
     * 表字段:channel
     */
    @ApiModelProperty(value = "产品ID", example = "channel01")
    private String channel;

    /**
     * 用户user_id
     * 表字段:user_id
     */
    @ApiModelProperty(value = "用户ID", example = "294002")
    private String userId;


    @ApiModelProperty(value = "冻结详细信息列表")
    private List<CustomerLimitFrozeDetailResp> details;

    /**
     * 补充信息
     * 表字段:msg
     */
    @ApiModelProperty(value = "补充信息", example = "没有找到该用户的冻结信息")
    private String msg;


    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<CustomerLimitFrozeDetailResp> getDetails() {
        return details;
    }

    public void setDetails(List<CustomerLimitFrozeDetailResp> details) {
        this.details = details;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    @Override
    public String toString() {
        return "CustomerLimitFrozeQueryRes{" +
                "seqNo='" + seqNo + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", productId='" + productId + '\'' +
                ", channel='" + channel + '\'' +
                ", userId='" + userId + '\'' +
                ", msg='" + msg + '\'' +
                ", details='" + JSON.toJSONString(details) + '\'' +
                '}';
    }
}
